<template>
  <div class="resume-title-page">
    <div class="setting-page-right-title">
      <div class="setting-right-name">
        <div class="setting-top-name">{{title}}</div>
        <div class="setting-bottom-line"></div>
      </div>
      <div v-if="days" class="resume-title-red">试用期剩余使用时间：{{days}}天</div>
    </div>
  </div>
</template>

<script>
export default {
  props: ['title', 'time'],
  data() {
    return {
      days:"",
    }
  },
  components: {},
  created() {
    let userInfo = JSON.parse(localStorage.getItem(localSaved.userInfo))
    this.platformUser = userInfo.platformUser;
    this.days = userInfo.company.probationPeriodTime;
  }
}
</script>

<style lang="scss" scoped>
.resume-title-page {
  width: 980px;
  height: 50px;
  background: #fff;
  .setting-page-right-title {
    width: 100%;
    height: 50px;
    background: #fff;
    font-size: 20px;
    font-weight: 400;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    .resume-title-red {
      margin: 0 48px 0 0;
      font-size: 14px;
      font-weight: 400;
      color: #dd3a31;
    }
    .setting-right-name {
      margin-left: 50px;
      line-height: 50px;
      display: flex;
      justify-content: center;
      position: relative;
      .setting-top-name {
        width: 100%;
        height: 47px;
      }
      .setting-bottom-line {
        width: 50px;
        height: 3px;
        background: #ff7300;
        position: absolute;
        bottom: 3px;
      }
    }
    .setting-title-right {
      color: #f15c18;
      font-size: 16px;
      display: flex;
      align-items: center;
      margin-right: 50px;
      cursor: pointer;
      i {
        font-size: 20px;
        margin-right: 8px;
      }
    }
  }
}
</style>
